package employee.ejb.management;

import java.util.Collection;

import javax.ejb.Local;

import dtos.ExcursionDTO;
import dtos.HotelDTO;
import dtos.MeanOfTransportationDTO;
import dtos.TransportationTypeDTO;
import dtos.TripDTO;

@Local
public interface ProductMgr {
	
	public void saveHotel(HotelDTO hotel);
	public void updateHotel(HotelDTO hotel); 
	public void removeHotel(int hotelid);
	public Collection<HotelDTO> getHotelList();
	
	public void saveExcursion(ExcursionDTO excursion);
	public void updateExcursion(ExcursionDTO exc);
	public void removeExcursion(int excursionid);
	public Collection<ExcursionDTO> getExcursionList();
	
	public void saveTrip(TripDTO trip);
	public void updateTrip(TripDTO trip);
	public void removeTrip(int tripid);
	public Collection<TripDTO> getTripList();
	
	public void saveType(TransportationTypeDTO type);
	public void updateType(TransportationTypeDTO type) ;
	public void removeType(int typeid) ;
	public Collection<TransportationTypeDTO> getTypeList();
	
	public void saveMean(MeanOfTransportationDTO mean);
	public void updateMean(MeanOfTransportationDTO mean);
	public void removeMean(int transportationid) ;
	public Collection<MeanOfTransportationDTO> getMeanList();
	public MeanOfTransportationDTO createMeanDTO(int id) ;
}
